isbg.isbg.__exitcodes__
- isbg.isbg.__exitcodes__ = {'error': -1, 'flags': 10, 'imap': 11, 'locked': 30, 'newmsgs': 1, 'newmsgspam': 3, 'newspam': 2, 'ok': 0, 'spamc': 12, 'tty': 20}
Exit codes used as return in the command line usage in
sys.exit().Key
Val
cmd? [1]
Description
'ok'0
no
All has finished ok.
'newmsgs'1
yes
There was at least one new message, and none of them were spam.
'newspam'2
yes
There was at least one new message, and all them were spam.
'newmsgspam'3
yes
There were new messages, with at least one spam and one non-spam.
'flags'10
no
Error with the command line options.
'imap'11
no
The IMAP server reported an error or error with the IMAP connection.
'spamc'12
no
Error with spamc/spamassassin call.
'tty'20
no
The program was not launched in an interactive terminal.
'locked'30
no
Error with the lock file, is another instance of
isbgmust be running.'error'-1
no
Other errors.